package top.csjss.hospital.vo;

/**
 * @Author ztf
 * @Date 16:34 2021/10/21
 **/
public class CashierVO {
//    {"cashier": 主键,"name": "药品名称","num": 2,"price": 单价,"totalPrice": 总价,"state": 0}

    private Integer cashier;
    private String name;
    private Integer num;
    private Double price;
    private Double totalPrice;

    //是否为检查项目
    private Integer ostate;

    private Integer state;


    @Override
    public String toString() {
        return "CashierVO{" +
                "cashier=" + cashier +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", price=" + price +
                ", totalPrice=" + totalPrice +
                ", state=" + state +
                '}';
    }

    public Integer getOstate() {
        return ostate;
    }

    public void setOstate(Integer ostate) {
        this.ostate = ostate;
    }

    public Integer getCashier() {
        return cashier;
    }

    public void setCashier(Integer cashier) {
        this.cashier = cashier;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public CashierVO(Integer cashier, String name, Integer num, Double price, Double totalPrice, Integer state) {
        this.cashier = cashier;
        this.name = name;
        this.num = num;
        this.price = price;
        this.totalPrice = totalPrice;
        this.state = state;
    }

    public CashierVO(Integer cashier, String name, Integer num, Double price, Double totalPrice, Integer ostate, Integer state) {
        this.cashier = cashier;
        this.name = name;
        this.num = num;
        this.price = price;
        this.totalPrice = totalPrice;
        this.ostate = ostate;
        this.state = state;
    }

    public CashierVO() {
    }
}
